import { createRouter, createWebHashHistory } from 'vue-router'
import { isPC } from '@/utils/flexible'
import { MBroutes } from './modules/mobile-routes'
import { PCroutes } from './modules/pc-routes'
const router = createRouter({
  history: createWebHashHistory(),
  routes: isPC.value ? PCroutes : MBroutes
})
export default router
